Skip to main content

BlockRepeater

The `BlockRepeater` component is a simple way to repeat blocks of content. Use Block for wrapping fields.
BlockRepeaterProps
BlockRepeaterProps
Intersection of
BlockRepeaterProps
discriminationField*
SugaredFieldProps["field"]
Omit
RepeaterProps
RepeaterProps
addButtonComponent
React.ComponentType<any>
addButtonComponentExtraProps
addButtonProps
CreateNewEntityButtonProps
addButtonText
React.ReactNode
boxLabel
React.ReactNode
children
React.ReactNode
dragHandleComponent
React.ComponentType<>
emptyMessage
React.ReactNode
emptyMessageComponent
React.ComponentType<EmptyMessageComponentProps>
enableAdding
boolean
enableAddingNew
boolean
enableRemoving
boolean
expectedMutation
ExpectedRelationMutation
field*
| string| SugarableRelativeEntityList
initialEntityCount
number
isNonbearing
boolean
label*
React.ReactNode
limit
number
offset
number
onBeforePersist*
| undefined| EntityListAccessor.BeforePersistHandler| Set<EntityListAccessor.BeforePersistHandler>
onBeforeUpdate*
| undefined| EntityListAccessor.BatchUpdatesHandler| Set<EntityListAccessor.BatchUpdatesHandler>
onChildBeforeUpdate*
| undefined| EntityAccessor.BatchUpdatesHandler| Set<EntityAccessor.BatchUpdatesHandler>
onChildInitialize*
| undefined| EntityAccessor.BatchUpdatesHandler| Set<EntityAccessor.BatchUpdatesHandler>
onChildUpdate*
| undefined| EntityAccessor.UpdateListener| Set<EntityAccessor.UpdateListener>
onInitialize*
| undefined| EntityListAccessor.BatchUpdatesHandler| Set<EntityListAccessor.BatchUpdatesHandler>
onPersistError*
| undefined| EntityListAccessor.PersistErrorHandler| Set<EntityListAccessor.PersistErrorHandler>
onPersistSuccess*
| undefined| EntityListAccessor.PersistSuccessHandler| Set<EntityListAccessor.PersistSuccessHandler>
onUpdate*
| undefined| EntityListAccessor.UpdateListener| Set<EntityListAccessor.UpdateListener>
orderBy
SugaredOrderBy
removalType
RemovalType
setOnCreate
SugaredSetOnCreate
sortableBy
| string| SugaredRelativeSingleField
unstable__sortAxis
| "x"| "y"| "xy"
useDragHandle
boolean